package com.zrx.govern.component.easyexcel.starter.entity;

import com.zrx.govern.component.easyexcel.starter.enums.BusinessRuleEnum;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.AccessType;

/**
 * @author zhangxiaowei
 */
@Data
@Accessors(chain = true)
public class BusinessCondition {

    /**
     * 列值
     */
    private Integer index;


    /**
     * 字段英文名字
     */
    private String fieldEnName;


    /**
     * 错误日志
     */
    private String businessMsg;

    /**
     * 业务类具体的校验方法
     */
    private String checkMethod;

    /**
     * 业务类具体校验bean
     */
    private String beanName;

    /**
     * 校验规则
     */
    private BusinessRuleEnum businessRule;
}
